package com.gxa.modules.mapper.accessmapper;

import com.gxa.common.R;
import com.gxa.modules.pojo.ProjectInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProjectInfoMapper {

    public List<ProjectInfo> selecProjectInfo(@Param("projectName") String projectName,
                                              @Param("projectNumber") String projectNumber,
                                              @Param("projectStatusId") String projectStatusId,
                                              @Param("startIndex") int statrIndex,
                                              @Param("endIndex") int endIndex);

    public int insertProjectInfo(ProjectInfo projectInfo);

    public int deleteProjectInfo(@Param("projectInfoId") String projectInfoId);

    public int updateProjectInfo(ProjectInfo projectInfo);
}
